package com.ease.access.systemmonitor.service.impl;

import java.util.List;

import com.ease.access.systemmonitor.service.UnixServerAccessService;
import com.ease.common.vo.MapParameter;
import com.ease.model.systemmonitor.UnixServer;
import com.ease.platform.access.service.impl.AbstractParameterizedBeanIbatisAccessServiceImpl;

public class UnixServerAccessServiceImpl extends AbstractParameterizedBeanIbatisAccessServiceImpl<UnixServer> implements UnixServerAccessService {

	private static class Statement {
		static String findAllUnixServerInfo = "findAllUnixServerInfo";
		static String findUnixServerInfoByPcid = "findUnixServerInfoByPcid";
	}

	public List<UnixServer> findByIds(long[] ids) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<UnixServer> findAllUnixServerInfo(Object obj) {
		// TODO Auto-generated method stub
		MapParameter parameter = new MapParameter();
		List<UnixServer> list = this.getIbatisDataAccessObject().find(this.getNamespace(), Statement.findAllUnixServerInfo, parameter);
		return list;
	}

	public List<UnixServer> findUnixServerInfoByPcid(long pcId) {
		MapParameter parameter = new MapParameter();
		parameter.put("pcId", pcId);
		List<UnixServer> list = this.getIbatisDataAccessObject().find(this.getNamespace(), Statement.findUnixServerInfoByPcid, parameter);
		return list;
	}

}
